﻿using Business.BookManagement.Dto;
using Business.WarehouseManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Business.WarehouseManagement
{
    public interface IWarehouseAppService : IApplicationService
    {
        Task<WarehouseDto> Get(Guid id);

        Task <TreeTypeDto> GetTreeType();
        Task<PagedResultDto<WarehouseDto>> GetAll(GetWarehouseInputDto input);
        Task<WarehouseDto> CreateOrUpdate(CreateOrUpdateWarehouseDto input);
        Task Delete(List<Guid> ids);

        Task<List<WarehouseDto>> GetList();

        Task<List<WarehouseDto>> GetNewAll();
    }
}
